package com.ycm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ycm.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * UserMapper
 *
 * @author ycm
 * @date 2024-11-13
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 查询用户信息
     *
     * @param name 用户名
     */
    User getUserByName(@Param("name") String name);
}
